package org.x.legalcasemod.entity;

import com.mybatisflex.annotation.*;
import lombok.Data;

import java.lang.Long;
import java.util.Date;

/**
 * 案件-律师关联表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "case_lawyer")
@UseDataSource("caseDS")
@Data
public class CaseLawyerEntity {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 案件ID
     */
    @Column(value = "case_no")
    private String caseNo;

    /**
     * 律师ID
     */
    @Column(value = "lawyer_id")
    private Long lawyerId;

    /**
     * 分配时间
     */
    @Column(value = "assign_time")
    private Date assignTime;

    /**
     * 接收时间
     */
    @Column(value = "accept_time")
    private Date acceptTime;

    /**
     * 完成时间
     */
    @Column(value = "complete_time")
    private Date completeTime;

}
